#ifndef __USER_KEY_H
#define __USER_KEY_H

#include "main.h"


#define KEY_A  0
#define KEY_B  1
#define KEY_C  2
#define KEY_D  3

void user_keyScan(void);

uint8_t user_keyShortRelease(uint8_t keyNum);
uint8_t user_keyLongRelease(uint8_t keyNum);
uint8_t user_keyLongHold(uint8_t keyNum);

#endif
